package cn.linter.oasys.user.feign;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * @ClassName: FeignClientService
 * @Description: 用于调用Flowable服务
 * @author: WangZe
 * @date: 2022/4/12 14:21
 */
@FeignClient("folw-service")
public interface FeignClientService {

    @PostMapping(value = "leave/startLeaveProcess")
    String startLeaveProcess(@RequestParam String staffId, @RequestParam String managerId);

    @PostMapping(value = "leave/applyTask")
    String applyTask(@RequestParam String taskId ,@RequestParam String checkResult);


}
